partial source code for queue manager

There are still changes to be made to the queue manager based on today's
discussion. I am not using the queue interface currently, but i thought
initially that both the event queues and data queue can implement the
abstract interface based on the commonalities.