Reorganizing of functions to load in the order of their ID.
Worked on #75. Added the integer global.