Add linting

Fixes #9