Tools into script, Working AZ Index

Moved tool tabs into spine.js ready, integrated Jeremy's changes and
addition of working index, made another attempt at good development
structure