linting and start
unnecessary whitespace massacre
first pass at key handling