Position tools

Added the code to retrieve position from GPS and Network