bump dev version
Minor refactoring and drop ServerException
Fix 500 status
Merge branch 'release/0.5.0'