Moved db intiliaizer.