change package name
re-indent code
change parsing header function name to 'ParseHeader'
add simple test for parsing header