Added scaffolding for the preferences view and the fully-functioning preferences module, a key/value store with get/set methods which saves to a cookie immediately