Move erp code to plugins

Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>