added command parsing and framework for storage