add component support
Merge pull request #1 from segmentio/add/component

add component support