Adding database build scripts and DAO