Corrected config paths from absolute to relative and Implemented 1-NN