Added story book code and widget