Integrated arduino getColor into MVC