Refactored repositories and add JPA annotations to Entity classes TODO: fix bug in ContactServlet NullPointerExeption