added script that generates .h from .cpp