fixed the boilerplate and added a config file and default template