Added helper to parse macro parameters
Added texy macro
Phpdoc
Applied code style