Updated spawn tool to auto register tasks.

Added indices folder as well for all the index.html files as spawned
project bases.