Add class_core.sh, class_main.sh, and related services