cleanup
moving html generator into action companion object