initial tests and struct
initial lib struct