Created classes for database and database exception. The database has only open and close methods implemented.
Implemented execute non-query method in the database class.