Changed functions for inserting datasets to tables and redesigned tables

2 jobs for feature/insert_functions in 1 minute and 37 seconds (queued for 2 seconds)