added core + implementation for swift sdks