Moving core files and helpers into their bonfire locations.