major refactoring
generating repository folder