switch to using mongo instead of yaml and sqlite