add common config class

Signed-off-by: Stephen Gran <steve@lobefin.net>