Convert header classes

Moved the Header and HeaderCollection classes to the groovy folder and change the file extensions. Removed the other unused java classes. The code is now 0% java.