Add log command
Add basic structure for thor
Replace executables with thor tasks