Implemented config handling