Rename support code to lx, more reorg, make top-level module