Added RedBlueTools namespsaces, merged with template changes.

Also added copyright info.