Formatted all code, village serialization