webapp is now agnostic to deployment context(except js part)