Improve build processes
Improve adapter registration and error handling