Refactoring view events into a separate file
Moving styles.js to css.js
Adding constants