added bridging header, fixed some bugs, updated dependencies