added visibility changes to todolist and address book. Also formatted code to best practices