Refactored CodeChange to be a relative path from a prev and current dir.

This matches with how git will possess the files.
Extracted models from lib/pinata.rb into lib/pinata/models.rb