Moved project path handling from utils to settings and modified usage