Added and modified some database tables.