app config and moderator

app config and moderator changes
converted to PHP

converted to PHP