change initialization format, add more tables
change template name to base