removed old typescript version
cleaned up pubsub patterns, added tick server support