Refactored + Got rid of Ghost New Lines

Refactored template parsing to read in  a line at a time
Refactored template parsing in various other ways
Added a logger module to standardize compiler messages and aid in
refactoring
Got rid of most of the ghost new line issues