A flexible environment for earthquake rapid damage detection and assessment