Add queue framework and demo