Settings are now fully encapsulated without relying on global variable
Cleanup (temporarily placed copyright in template file)