Changed the query methods
Made the commands packet-private
Added JavaDoc