added api for saving fiddles to mongodb