refactor dirs
adding local settings,