Added Version and Stats command and tests.