implemented config loader