added spring mvc controllers
Added mongo db support