Add imageLoader and soundLoader functions, and game function and get all variables out of the global namespace