Initialization and cleanup

These methods implement framework-related initialization and cleanups.

For example:

void class::initRelations() {
   state1 = new state1Class(); // creating the states
};
void class::cleanUpRelations() {
};

Feedback