Adding some env parameter for sttaic dir, isSecured and changed layout of public js / css / folders