split library and sample projects