everything compiles

i'm not completely sure about the constructor stuff (does swift inherit
constructors? idk), but everything else should be good