moved flow related classes to foundation, moved file system tasks, writers, and a few others to cfs