Added functionality to tokenCreator

- Moved token queue to token dispatcher
- Adjusted runtime core to reflect this
- Removed core from tag constructor
- Added test code (That used to be part of init) to main.