Implemented database insert methods for all tables.