A Timber company based in Somerset has been sentenced for safety failings relating to a construction project.