cleanup / rewrite using the woocommerce v2 API
only basic code and admin options, no processing yet
pagosonline processing (still not tested)