'db' object loading + object children lists

It was found that saving references to the phones 'settings' didn't keep
a reference to the actual object, just duplicated it. Changed it to
store PK's and always 'load' from the 'database' instead of the actual
object reference