wm: move extensions.c to rhodes project