When doing large projects my code seems to get all over the place. How do you guys organize your code?
You should be using a design pattern; consider starting with MVC.
Strictly following a design pattern will improve the readability of your code base immensely (among other benefits).