Refactoring GPS tracking card