Added push notification functions to the api and added a www directory inside the mobile directory