added contacts api + cleaned up formatting