Implemented 'track' command. Cleanup.