database

new database class with method of connecting to database