Modularized source code with IIFEs
Updated library versions in test files and updated clear() method