* migrate config to figment * support env variables * add better error messages * fix tests * refactor
* add consensus integration tests * add unit tests * organize imports