refactored trackerapi model and vies for nil situation