dispatcher-servlet.xml location fixed
direct instantiation of Repository beans replaced by component scan
unnecessary casting removed in hibernate Repositories