remove unused files
big refactor of settings