Removed some unnecessary files.
Made logging a part of the env object instead of a global variable.