Move module to lib subdirectory