Setting up dependencies and publishing