improved: used app formatter and simplified class calculation
improved: used app formatter and simplified class calculation

hiqdev/hipanel-core,hiqdev/hipanel-core,hiqdev/hipanel-core,hiqdev/hipanel-core