ticket 8: added settings bundle
ticket 8: largely replaced polling mechanism with APNs; not quite finished