added extensions to create schema and removed unnecessary db fields