Separate repertory to a library and a sample.