Added QueueManagerimpl and some functional test cases