BIM as relational database for construction management