First version of new array
First version of invoke static
Lot of small fixes and refactoring