added db_controller inline documentation