Adding logging and command modules, several bug fixes