Add QueueAdapter objects inspired to fireworks + Replace RunMode with TaskManager
 Replace isinstance with duck-type testing
 Code cleanup