branch Nadeem fininished(not fully tested), add nonindex and collision handling from config file definitions