front end revision mesh controller spec and refactor complete