Start implementing rules for a single line

- simplify console app, now just input a single line and it will tell you errors and warnings from it
- implement the first few rules for a line
- will probably do a big refactor soon, see TODO comments for ideas