[0.3.0] move to an (almost) completely asynchronous architecture

Signed-off-by: Eli Skeggs <skeggse@gmail.com>