cleanup database, remove functionality that does not work with hibernate4