rewrote functions into private sector information with a library function with returns and ran tests. 11 of 12 are functional. will figure out final problem and get it functional for next commit. flow charts should start in next few commits.