clean up web configs, add documentation comments