code reorg; added reassignment safeguards
added use of Attribeautiful gem to clean up section partial