Removed unused class
Added local preferences class