Do all that analyzing on the backend.

Should be much faster now. And stuff.