Add ability to share tracks, refactor.