Added more comments and Added Cost Attribute to Ability class.