Removed unused variables and references.
Initial refactoring of the parser.js.

Swapping validation of token type to beginning of methods as a start. Planning on replacing token arrays with objects for clarity and elaborate host / current states.
Added indentation example and test.