Adding MongoDB Support

Hi I ported the bundle to MongoDB with this PR you can choose to store your date in  MySQL or MongoDB.