add mgo dependency, define deployment methods