Changed formatting for metatables

More 'class' style, and changed the 'targets' variable of 'hqcp' to a table.