add REPL, small code cleanup
bump version to 0.1.8