added spring context and updateed dao classes