Complete build system with database scripts