adding config class

names are subject to change