move templates and statics into app dir