Finished giant refactor to actions to allow for #29. Tidying up is fun.