styling changes
attr corrections and methods added to models