Adding site structure and database class