Refactor of class directories.
Added shell execution of command static function.