Adding samples
Code refactoring, making repl easier for debug
Removing forgotten println
Final commit