storage integration

contains changes needed to integrate different storage modules to mb. (eg: cassandra, mysql, H2)

NOTE: merge after the code review is complete.
Added comments to each constant type. Variable names are used to describe the constant type.