Added code to write init function stub.
Added new preinitialized data and accessors.
Introduced GlobalVariable that shall contain also the initialization part.
Record the assignment of global variables.
Variables that don't have an assignment are initialize with 0.