Init Strucutre of lib