add queue structure
Merge pull request #2 from redtrine/feature/queue

add queue structure