Load config outside of class and pass it as array.