Updated api.py to handle people with the same device token and different api keys. Added webapi using Flask to submit tokens. Updated api test to point to the right directory.