Debugging templates, backend changes, added exception handling and PSR-3 logger