moved log command handling to a module

try to start a trend
raise version