Starting to flesh out webworker framework