Established database connection for judge's POST
Completed implementation for all 4 API calls
Merge branch 'server'