Added mongodb port
Added mongodb install
cleaned up code