Add Calculator class with is_ready method

Add a Calculator class to take over functions related to data transfer,
including sending/receiving bytes. Implement an is_ready function to
demonstrate the semantics of this class.