changed web application to use some business logic. I'm about to give up
on that beast though for a while.