Update references to generator.hpp
Write unit test for generating function applications. Implement stupidly.