Fix problem with `reduce1`

While at it add module stub
Add "repl script"