Reorganised __init__ in gday main