changed folder structure and added composer
updated README
Merge pull request #3 from robbixc/composer_and_folder_structure

Few improvements

Details:
- splitted the two classes in two different files for more readability
- added namespaces to the classes
- added a composer.json file in order to easily install library through the composer