move pointofsale plugin to main codebase