An Actionscript 3 entity/system engine