added license and cleaned up some temp files