Removed garbage code and added license
Removed garbage code and added license