Use url class loader for loading compiled class

Tidy up and fix repo