post creation with model, db and spec

post creation.
Added model, db and spec