Not sure how it worked before, but fixed the "Cannot cast" exception"
Bringing Android app up to date, and also adding in files for the web
api
Added in basic skeleton code for web api