Added the GPS code from class as a base for our sensor