moved State companion object next to class
Merge remote-tracking branch 'origin/master'