Added model for domain handling + DB connection