Creating swift project for hypnosister. Need to make it similiar to the obj-c version