mongodb data model redesign

simplified schema down to actions, objects and
types. implemented type control for application
data storage control