Huge refactor, moving towards more reusable code.

- Created Context, Parser, and Transform constructors.