add license header and dependencies