Remove DEBUG definition from application
Added debugFlag to Application