app: Improve Friend class initializing
app: Extract implementation of Friend to Unit (parent class)