improved performance; add xsrform support; add template and static files autoreload support