Cleaned up POM. Removed unneeded query functions.
Added report code.