Add checkout api

Add class for working with checkout API.
Split Client class to modulize app.