sys_status: Add state publication

Fix #16.