Break samples into multiple directives and add a toolbar for sample creation.