Developing Custom AS3 Application Framework with OOP