just some code cleanup
serial write function
bump npm to 0.7.0