storage integration

contains changes needed to integrate different storage modules to mb. (eg: cassandra, mysql, H2)

NOTE: merge after the code review is complete.
q = new String[]{Q1, Q2, ..} make sense ? if not fine.