Split project into a jar file and a demo project.