Add Script class.

Adds new Script class which combines multiple nodes into single
executable object which hopefully simplifies things.

Also removes some oddities which im too lazy to list in this commit
message.