Refactored to use BufferedReader so a main method could actually do something.
Added Stubbed Tests