debugging; general improvements; more tests specs; added mixin support to classes
changed eventemitter inheritence to use mixin style