Check for API errors in testprog
Add server pkg and nice errors
Update gitignore