moved config to template and change readme