Adding commandline interface

Can pass key, iv and stream length to main
Writing output to file