added settings
updated search with paths from settings
cleaned up some files