Starting by splitting each 'tab' out into their own php file, and then including it. Easier to manage. Following up by removing tables and replacing with a responsive form layout. Also working on removing PHP dependencies and using the UI instead.