Add Location Update and move common code to libytc