Refactored the costs modulee
Added costs class