Added contracts database, renamed old contract to contracttypes, and have protection datos registered upon registering.