optimize(ex4): establish better project structure