remove code related to hibernate and database