Removed objToArray, replaced with simplesets
removed the majority of console messages in server.js
Delete file when encoding is complete
Removs some console.logs
Outputs a file with the correct extension