Cosmetics
Handles registering refactored
Unused imports removed
Fix for compatibility with cocaine 0.10.6
Merge pull request #10 from nobodyisme/master

Compatibility with cocaine 0.10.6 + minor refactoring