Base MVC framework for AS3