UI implementation

Implemented board rotation and keyboard event handling
Also fix material influence issues