Table views using swift library classes