remove unused imports
correct imports
fix build depends
imprt functor since it is hidden in @fmap's library