Setting the root opt the app

Setting the root of the app and testing connectivity with mongodb