modified the way controllers get bound to the client
tidied up menu controller