Refactoring
- created a parser class
- updated tests
- updated logic for transform direction
Merge pull request #3 from markohlebar/feature/refactoring

Refactoring