better documentation, more efficient AnyEvent implementation, fixing requires and tests