added functionality (dragging) to the player controls
added declarative function names and linting rules