added code for floor plans, still needs a lot of work