refactor(ex3): move application components to separate files