Porting the library for client-side usage