refactor the project, define settings module, enable draft mode in the post