added site config tables and some updates