Completely rewritten handler

Package has to be registered on packagist and has to be linked with travis