Separated sphero controller logic from view