cleanup
small refactor. move design rat to src