Data generator interface and sample classes added

Test has been updated in order to use datagenerators