added TipType model
cleaned up tips.js
refactored entries into collections