PSR2 style
Added docbocks