Added an initializer to populate todos on connection