Added Family class

Modified main.m to use Family class.