Second hard rejection android app with admin panel

Hi there, my android app with admin panel got hard rejected for the second time.
The first time the message from the reviewer was
Consider using at least a minimal framework to structure the application better. Right now, it’s a mix of HTML, PHP and SQL.
I’ve checked the forum and i found the framework is not required.
So i’ve made the required changes on the structure of script

And now the second rejection message is
the earlier review stands. there really needs to be clearer separation of concerns here
i dont undrstand should i use a framework (Symfony).
Please lead me what sould i do