Model implementation almost done, only relations missing