chore(lib): Refactor and split code in modules
Merge pull request #4 from ep-ahartmann/chore

chore(lib): Refactor and split code in modules