changed template variable names to fit convention, set variable defaults in Elements Controller