Some work
Managed to hack things toghether using jsp
90% Done. Just needs some cleaning up.