added config options for port and socket
added example config file
Add Composer support.
Merge pull request #1 from samwilson/composer

Composer and configuration options