Added initComponent()
Merge pull request #4 from Metamist/master

Added initComponent()