implement new backend for prestashop 1.6. fix #4 and #2