Basic skeleton API complete.
Fleshed out the prefs storage and got the SDK buildable.