Refactor deploy into it's own controller, add the environment name to the webhook, enable flexmock