changed input and write server commands class to a single StreamHandler class.
StreamHandler now uses BufferedWriter instead of just an OutputStream
added CommandHandler to receive a string and return a properly formatted command if found.