Added interactive shell

Changed cmdline parameters to accomodate for interactive shell.
Added support for CR-LF (Windows) line endings. Works both in shell and from file.