added basic mongo logic and configuration