Move executors creation to own function on constructor