Add basic cookie model

[skip ci]