code formatting, better variables handling, parsing of 'for' and 'foreach' loops as 'while' loops