initial implementation of package, as well as swift auth