Removed mongoDb config and added hibernate/jpa and derby to pom.