refactor and kill struct repo