Adding global debug
refactoring
Removing comments
Easy environment handling