POS Middlerware