Readlines Notes:
For single word commands needs a " " at the end. Not 100% sure how to fix it.
writeAll Notes:
Might want to edit to have check for locked writeStream at top of file. There might be a possibility that we can wait in the fucntion for this the stream to be unlocked but I'm not sure how.
Removed need for readlines and writeAll import.
Readlines Notes: For single word commands needs a " " at the end. Not 100% sure how to fix it.
writeAll Notes: Might want to edit to have check for locked writeStream at top of file. There might be a possibility that we can wait in the fucntion for this the stream to be unlocked but I'm not sure how.