Init basic client strucutre and libraries.