Fix self closing tags within other tags bug [#52]
Fix config not being inherited through constructor [#11]
Converted tabs to spaces
Changed @var to @type