Port to AppTemplate
Linting
debugish