Extracts all contract objects into separate module