Almost final

Have to add try/catch, and figure out the exception for closing db
connection in the destructor