A - Template for mainHandler