all sorts of stuff added! fsm and proper pubsub coming soon. lib refactoring coming soon.