Added logging and revved major version to 5.x as it is a whole new beast yet again