Refactored light and fixed mouse contols