first work on CLI interface (not actually hooked up to worker yet)