Move WooCommerce class to its own file