Basic dynamic table generation implemented. Some issues with styling but should be a realatively easy fix.