Added support for dynamic memory allocation. All variables are unified into single structure, this will help compiler to optimize code for load/store CPU architectures.