Renamed api to mongoapi.
Updated other files to handle the change from api to mongoapi.