First pass of quark agent

A simplified polling agent with Redis and XAPI