Implement a queue for actions

Use a own queue for easier accessing
Add expiring to actions-queue
Use clid for representing of actions to avoid bugs