added authorship info, switched to iostream

Signed-off-by: Kishor Bhat <kishorbhat@gmail.com>