Split in classes to add tests later
Add pkg to gitignore
Merge pull request #4 from caffo/refactoring

Split in classes to add tests later