Added index and jobs controller with MongoDB repository by spring