Updated designs and added sql script for tables