move point of sale mode into plugins