Added artifact states, workspace save, etc

Signed-off-by: Kirill Zotkin <kirillzotkin@gmail.com>