SCV registers with DB upon initialization. Also some code cleanup