reorganize project into library and example folders