Added Swift model and utilities