finished working model for trail
Merge pull request #5 from ashtindell/trail_model

finished working model for trail & added API