Add initial draft of content parsing.
Remove jshint errors.
Basic content parsing structure in. No tests, error handling or output UI yet.
Add tests for content and resultant fixes.