garbled intermediate stage of contact rework

more rework progress

broken, also removed unnecessary library

fix bugs, consider refactor to more basic return types

fixing contacts

bug fixes, code cleanup

start database contact rework