xmonad: IM layout extracted into separate module