a component based framework for MOAI