Ajax Calls

Added all the Ajax calls necessary in usage. Finding all the files that
are necessary to use GPS and removing the other ones.