Add model code extracted from Podding
Update test task; fix gemspec