Load config moved to seperate method