Initial commit of source, patched to compile with Apache 2.4