Formatted API endpoints, cleaned up markup