fixed layouts of many models. implemented historicrecord to more models. more to come.