Refactoring TaskFactory

I am doing so because JPanels (and anything that uses a Graphics object)
can not be serialized