General Production System with Multi-Level Accounts