add ignore file
 Add template
clean up code and add a install script.