Refactor Ruby Union Station support code

Split into multiple files, rename some stuff.