sublime tabs corrected. code refactored.
placed repeated paths in constants