Move smart text modules to its own namespace and directory.