some initial work on a scala module