Bootstrapping code and API lego sets