added id template
modulized the app
added config file
modulized application