DatabaseHandler Added

Added class DatabaseHandler to manage the database