Refactor

- moved action map into app
- extracted joystick function ready for events
- white takes temp and brightness.