Fix for issue #35

removed unused methods, and added string formatting.
Added logging code and string formatting
Fixed unittest to bypass pager
Code cleanup