Finished the location provider. Had to rename the resource variabls into rsc in order to make it work.