delete unnecessary contexts
adding default  constructor to controller
adding WebConfig.java and updating web.xml to use Java Configuration