Made a real readme
Added environment handling
Fixed flag usage
Update readme