deleted app.js, will be replaced with prototype
refactored IncomingMessageTypes
refactored OutgoingMessageTypes
refactored PalaceHotspot
refactored PalaceHotspotState