Tidy up

 * Moved the type generation stuff out of Types and into Data.FreeAgent.Generate
 * Cleaned up imports
 * Made a start on passing along the document name that the types come from