added MIN_SERVER_VERSION and a Version class to compare versions
reformatted to use single quotes where possible