basic route implementation and mongo setup