Add prefs support and examples in readme