Learned bootstrap. Coverted basic functionality to bootstrap.