added chats manager with observable sorted peers and some Core Data stuff (work in progress);