o Initial split into several files.
o mv JavaScript files to js/ directory.
o move draw methods to their respective files.
o encapsulate everything in loupe.