refactored certain funcs to bridgemem_iface..not working completely but slowly
completing tests