Added the setings for mongoDb and new implementation for file upload.