add linters, fixup code style errors

Fixes #10