do not always start www
refactor
app struct refine