SmartDAOFactory fixes, mapDaos more frequently, and unstage bin gen and libs directories