Removed garbage files
Refactored schema-flattening functions as base.Object's static methods