Added database classes and command classes