Update Makefile to format and lint lib/
Some documentation and formatting
These are bad to ignore.
Many lint issues fixed
Merge pull request #49 from anchor/wip-lint-and-format

Wip lint and format