base类，提供OO继承，attribute, aspect, events机制