Fixed if statement syntax errors
Started Server API