Changed CreateDecorator method
Updated Main to import CreateDecorator method

fixed environment check
fixed typo in environment check for run environment

check was = instead of !=
final cleanup and sanitizing