implementing simple templating system
fix routing regex
add session class, redirect method