Deleted old code and added license header