Server side for the Optimal Giant project