PSR1 enhancement, Interface, licence and general refactoring