Use parse-env for parsing env variables

Tidies up things somewhat.
Update intro
Rename main.js as index.js

Just to follow conventions better.
Add section about contributing
Mention parse-env at packages