minor reconfiguration pre-booking margin work
changed script enqueue order
added cc_* library functions to lib/lib
set init hooks
added new action class, reconfigured init, relocated action hooks