+ update dreamhistory function of table field(re-design)
+ finish bad history function
+ rename layoutmain to layout
+ change all layout name in controller