Refactor to provide a boot method instead of requiring constants be set.