Removed unnecessary stuff and added licensing.