Improving code

Prepara from add to https://packagist.org (composer)
Add namaspaces
Remove variable unsed
Change tabs to spaces
Reestructure
Update Readme