refactor tracks controller
more controller refactoring
removed 'binding.pry' and cleaned up code