add coffeelint and refactor the codebase to make it more readable
Merge pull request #22 from EragonJ/feature/add-linter

add coffeelint and refactor the codebase to make it more readable