Migrate the Plug-in info class to Swift.
Move stuff around and define enums.