Update way of loading config + extracted Thetime plugin into own file