moved crate to an entity acted on by systems; little jshint tidy