Improve import structure
Add default_value to fields and use them in struct

Also make AnyPointer more liberal and fix hash/eq implementations