Implemented library communication wrapper

Switched out old communication wrapper for new library communication
wrapper.