Added the service classes and some code refactored and used struts taglib for displaying messages