Add controller for testing purposes.
Reworked run command and shellresolver.