finished filling in (unverified) api method logic
rework module import sensibly