Config class

Test Plan: -

Reviewers: alex, max, ilgiz

Reviewed By: max

Differential Revision: https://review.crowd-lab.com/D1431