Added initial code

Code for: Nodes, waves, messages (both agents and resources)