Add extract function. Add xmonad configuration