XMPPNewMessage Delegate framewor and began local DB creation

XMPPNewMessage Delegate framework is functional. Also began local DB
creation in PlanetModel