create core module for stable, common classes
Merge pull request #6 from ndeloof/master

split core classes in a dedicated module