added rtcpeerserver termination and improved organization/documentation