Refactor Cuastk logger, rack and runtime into interfaces.
- Hooked up unit tests, all 100 pass minus a few documented bugs