Added work done since 29-11-2014

Everything in this commit is by @Tron93
Added review comments to the code
Added missing array tasks
Some refactoring
More refactoring in arrays
Merge pull request #2 from tsimafei-markhel/master

Tasks implmented on 07.12.2014