Added serial utilies, tested on linux only, need to test on mac and windows.