Refactored HAP code to avoid duplication with viewer.
Changed build process files
Deleted old viewer js builds
Changed viewer html to use new code base
Fix viewer html url of js
Fix edit mode of viewer
Inc pkg and rebuilt
Cleaned out old files.