Added PathModel, PathModelListener. Added sharedPrefs listener.