adding the template from Palm Note

thanks to palm note for open sourcing this template