Update namespace, add database to register types and add unity interception.