In reply to Alex K.:
Regarding your data structure you should hold all files belonging to an agent or env in one directory. In my implementations I’m using one file where I include all these files in the right order. The whole stuff represents one package. This can be compiled without any problem and imported where it should be used.
ou can find more details on this on my personal webpage www.christoph-suehnel.de.