added stuff for getting device token
cleaned out packages
fixed test bug
added feature for apple push notifications