Spring configuration and mongodb setup added