Added Debug class, functions, adjusted composer.json