Added syncronization classes.
Priority queuing added.