Move common classes to a common module
Merge pull request #5 from gilt/refactor_common

Move common classes to a common module