Introduced lifecycle to replace bootstrapper. Added docs for this.