Triggers now working. Added network and battery.
Fixes for triggers.
Moved lib/agent2 to lib/agent.
Removed lib/agent2.
Updated default config.