Remove defunct libraries/pages, clean up files