API draft and skeleton with example method and exceptions model