Handle commands and launch Runnables for them

Progress on #1