Create database class for the application, include it as a library