Update to MongoDB and clean code; Added credits