added license and removed third party code
added license and removed third party code