major refactoring. the DatabaseHandler has been replaced by the PytablesDatabase class. this class only deals with the database connection and doesn't have any table logic. Table logic and other database related functions, which previously were a bit misplaced because of some bad design choices, have been moved to PytablesDatabaseUtils.