Code refactoring
Fix dependencies
Merge pull request #3 from mcanevet/refactoring

Code refactoring