main method added the firts lines to check if exists mongoDB and start
of the install