Splitting AS3 code into multiple classes