Remove unused deps/fields, change main, add keyword

Fixes #33.