Fixed Spring MVC config and added some DAO code