added AdapterRegistry and copyright headers