Added save and load to components (without trainer)