move everything into the lib subdirectory