Cleaning the example after moving to hibernate. README was outdated, also some query was unused