Started prototyping the artifact loading system

Where "artifact" means something that contains code, eg. a jar, a maven
artifact, a folder with classes.

I'm starting with state tracking, later I'll add actual means of loading
the code from artifacts.