FW-257.  group functions.
FW-257. Change function and variables name.
FW-257. only put in the header file the function that are accessed by outside.
FW-257. Order the functions to match the order of prototypes.
FW-257. rename functions in SConscript.env.
FW-257. Fix schedule_getSlotInfo function.