remove configuration object and make props public;