Fixed the issues regarding package dependency and splitted the solution to two
adding splitted solution and mongo db path changed