split up project into library and test app