Flexible Surveillance System Architecture for Prototyping Video Content Analysis Algorithms