Updated Trainings manager

Added comments
Added functionality for end product
Cleaned up code