Add space state event backend
Fix copyright and whitespace