variableize everything, add defaults, and update README