Divide classes to app and data
Apply new data type to friend