added templates
extended structure of app
re imple,ent batch process