Auto wiring in DAO & manager impl & misc fixes