damn modularization business

have successfully create trainer and unary function generator