Added version command and made prefix configurable.