Goal for today: finish moving provisioning.
Made some initial progress on separating functionality into different modules. Lots of reading about modules, semantics of use and require. I should probably be creating tests at the same time. Will this ever get done?!