added model classes with annotations
adding the new model classes
added controller and service classes.
spring mvc and hibernate is now working.