implement a new python class capable of processing different kinds of incoming configurations, from JSON files to YAML objects. The class should only have two public methods, one for the constructor and the other for getting the configurations that the FPC_Engine class requires as input. Another cherry on top, add validation layers to make sure the incoming configuration suits the engine.