Composer support

This version adds composer support. I thought I'd do my best to help you with this.