Split AppJet code into conventional files (doesn't work)