Refactored access to DB. Fixed removing education year.