initial ios commit with core functionality