Added API code and tests