added code parser, content, and main. content has failing test.
refactored by adding code class
refactored code to use code instead of an array