Added support for environment variables

Added new test cases
Added travis file