So you can setup a very standard MVC or MVVM architecture using Lazarus.
I bought this book to help:http://www.apress.com/br/book/9781484222133 it uses Delphi, so there's translation to do, but the concepts are the same.
Also, Lazarus has an amazing community that's a joy to be a part of, and is extremely welcoming.
I'm a hardware jockey (mostly) so if they can explain it to me, literally anyone can get it.
To boot, there are a number of excellent older texts that are just a few dollars, and all the concepts are the same.
There's new material being produced more and more for it as well.
What I'm trying to say is: join us... One of US. One of US. One of US....
You don't grow an application to that size by simply building on what might be suitable for a 30kloc application. It requires discipline, experience, trial and error and ability to invest time in properly maintaining the codebase.
Disciplined code review by people very familiar with the codebase is vital.
Of course it all depends on what i'm making, for simple stuff i just throw everything in the form code directly. For more complex stuff i use the method above.
Here is an image showing an example of the approach:
http://i.imgur.com/cm4VTHn.png
The "GlobalState" window is an IDE window that represents a TDataModule (the name sucks and probably is for Delphi compatibility, it doesn't have anything to do with "Data" and because of that i ignored it for years) that contains the "SimpleViewportRenderer1" and "ViewportManager1" non-visual components - instances of the TSimpleViewportRenderer and TViewportManager component classes. This is in its own unit and can be accessed by other units, essentially providing global state (note that a data module is really a class - much like forms - but you can have a global variable with a single instance of it - again like forms). The neat thing with this approach is that it can also be seen by the IDE: the Viewport1, Viewport2, Viewport3 and Viewport4 components in the Form1 form have a property that accepts an optional TViewportRenderer component. This is presented as a combobox in the Object Inspector window and when you pull it down, one of the options is "GlobalState.SimpleViewportRenderer1" - so you can wire together components 100% visually.