declaring swift classes