Cleaning the global scope

Put everything in an IIFE, in the case of a name clash