update mock action to take a application class
update cmd spec to include injected environment variable
routes are fetched from parent class when being built