adds constants for special chars
adds controller template
improves templates