base library for mini-erp project