Making data passed to differs more dynamic

Class with properties now instead of fixed nr of commands