Temporary function to create necessary tables.