ECE 2524 final project. Contacts handler