removed hardcoded html, added json and dynamical list/table creation