Added component and environment fields to Build entity.
Formatted Build class for Sonar compliance.