moved html building to external file, started json