Create habit model