change server repo format: using 'latest' flag instead of searching for MAX(rev). closes #24