Restructured apns.py and gcm.py. Added separated managers.py