Documentation

Add docs and make installation/configuration more generic.