simplified build system; patched buildfiles to automatically copy resulting jar to library path
formatting