init base libs