Made config an abstract class to be extended