add getlocalhost() to setting file
clean folder structure
stop tracking license.txt; change debug control flow in setting.py