build external facing function and empty shell toolboxes. define external api.