Added controller logic, DAO. Modified maven dependencies.