Remove api.js and removed mongoose from baucis installation