Move persistence class from ADempiere core