EntityStore keeps a list of referenced entities for each entity
Started work on the source aggregator.
Compiler gathering source files now properly references external entities.
Gatherer compiles main() entry point.