Implement input strainer capsule.
Refactor map and profile.
Update mgo version.