Added source file for main TeaSafe class