Update for new boot API; move most tasks to boot.core