Add iOS support for push notifications, refactor push notifications into seperate file