Some code style changes. Fixed memory management in Reader
Fixed some errors brought about byinterface changes.
Removed debug statements in dtors.
Added static library building rule to makefile.
updated gitignore to ignore static library.
Added stream insertion operator.