db: added collection for plans.

related to #669.
services: implemented create and get plan.

related to #669.