remove useless instantiation
first stab at a rewrite of the internals
minimal rewrite compiles
first test passing!
more structured exceptions
test Package class