added doc/syapsefdw.md and minor code changes