initial set up before setting up mongodb