Move library initialisation to cearth_utils
Prepare finalized program flow of cearth_main
Change some function names to improved form