setup config and dependencies