OutputString, readability, complex primary keys

Removed unnecessary PhpStorm comment 
Moved all output string related functions to separate class and named it `OutputString`. Introduced "tabs".
Fixed complex/multiple primary keys issue, when each key would be created as and array with "0" key, now it is incremental.