Removed the unneeded 'AppViewModel' objects, which meant that the data-bid with statement in the php files was also unneeded.