updates template targets with longer ids
moves footer target below closing main tag
calls namespaced api endpoint
namespaces functions, updates html targets