Add basic structure for thor
Replace executables with thor tasks