Adding logging to the stoage system
Adding code to do better parsing of command line