refactored and working

I put everything from echo I through V into one file. There is a lot of refactoring, I will be happy to go through it. The logic is the same, I tried to extract as much as I could into methods and avoided having redundant puts in methods. In any case this is my suggestion.