refactoring

moved config and ivy to etc