Moved models, and related types, to models package.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>