restructuring modules. preparing command grammar handling.
register function function