Refactor artifact handling and add test
Refactor
Delete deleting artifacts in advance
Refactor api client
v0.2.0
v0.2.0