input.js is now responsible for processing mouse input and translating
it to relevant events. This allows for less bloat on the main logic in
index.js and easy implementation of new functionality
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>