awful initial import that mostly works

lots of svn and jar cruft here