Added some functions as a prelude for websocket communication. Added
patient page. Added dynamic generation of values for the video and audio
graphs.