Added some basic io manip stuff.

Signed-off-by: Peter Atashian <retep998@gmail.com>