Added DatabaseManager, and some models