Implemented basic functionality to get figures from the server