Major GUI code refactor - split namespaced scripts into static classes within their namespace