added config loader