Changed up the config to be a class
Setting up an API layer