smaller fixes
export only public symbols from Api.hs