Added db tables and several views