MatchController that handles API functions and send back all data as JSON