added console functionality to the addFriend class, included console
functionality to the correct methods in the DBCom class.

changed the function of the SetDateStorred and the AddFriend methods in
the DBCom class to check if the database change was done correctely and
return a true if it was done correctely.

added and changed all the corresponding javadoc