Better structure your project using the concept of smart and dumb components.