Thief and port, init templates for nodes

Added ThiefNode and Port classes. Created init templates for Edge and
Hex and changed resource definitions to match resource types more
closely