add rxjs support, needs tests - ref #3