Added db module, and function for getting all events stored in fb an mu