added panels to the index.html + changed the composition class to be more generic.