just added gocoords
ported chem.go and files.go, not tested