Make adpater an environment parameter
Merge pull request #4 from drag00n/master

Make adapter an environment parameter