Added heartbeat.
first step towards named channels.
Moved content type.
fixed conf.
Fixed bug in token parsing.