Project restructured for library build.