Move status code constants into controller

Signed-off-by: Ken Barber <ken@bob.sh>