Developing a working template system with fallback
moved pager to frontend