An Actionscript 3 entity framework for game development