First functional queries of CGMiner API and DTO mapping