initial commit

reading a file practice and extracting to methods and a class