You can inline code into headers, but it might be a good idea to move some of the large code into its own module.