Refactored encode.js a bit preparing for major refacotr for cli
extracted encodecomplete method from the callback
temp
temp
cli working

Cli is working with everything hardcoded.
Added better progress bar notification
Added newest dependencies
Cli arguments, removed hard code testing
Now running the server from the cli using the srver.js file