sf setting up realation with sector and room and modifying some controllers