added sofa area and modify structure of the program.