Moving config load to __init__. And review code.