I am working on understanding application structure and scalability. My current implementation is working but I have doubts about the implementation of it. I would like to avoid