Add support for per-project config

Closes #283