re-factored Html & Page creation
deleted currently unneeded code