remove definitions; logger and events move to utils