Changed scene from regular viewController to tableViewController, and updated all associated code