cleaning up files, adding in mongoose