move representer into classes, added tasks