Rename runtime to context
Added state concept in actor