Initial commit. Still bugs to fix due to scala interpreter does not handle stdin properlyi