check config for required vars
add a readme and better commented insturctions