fixed autoloading declaration

also: 
* added php supported version in composer.json
* removed php 5.5 specific features (using `instanceof` instead of `ClassName::class`)
* simplified directory structure