implement rest of basics for API
update smoketest