Add license and ignore build folder
Remove unused variable