Added Realms to Contacts

Added Realms to contexts as discussed in issue #20