First rev of remote tomcat patcher that looks to a central db for patches
basic refactoring