Added spinner template. Needs to be debugged.