implemented retreiving of invited friends, member-friends
Stated splitting the source code into several modules