added deck model and create, edit, index deck pages