move scheme code to lalily-modules