Made fully PEAR compliant with the help of the PHPCodeSniffer
Make the constructor call the init to prevent same things being setup multiple times