refactor code totally

put all swinf configs to a single `setting.py` file
put all adapters and hooks to `swinf.core.middleware` module
put all core exceptions to `swinf.core.exceptions`
put reloader caller from `project.main` to core