Implemented configuration. Made base class structure.