refactors tables and forms for admin and product data