Added the config class, needs some work still