Updated build reduced dependencies, formatting, and R. change to reduce static calls