remove spurious class
Use generic resource allocation instead of hardcoded cpu, memory, ports.