greenstone customization

I installed greenstone and have it working. I wanted
to customize the interface but I couldn’t find much information about
what each .dm file does. I’ve checked the developer’s manual
but it does not give details of what files are for what. For example, if I
want to change the look of the page after doing a query, what file would I be
modifying?