Corrected prepared statement usage in DAO and cleaned directories