move things into sfpy package