Define app engine and load templates

why did you remove this ?