made database data object.

rewrote equiplet agent with the new database data object.