intermediate commit
Added models of flows, messages. Added relations
added messages
added avatars and dialogs
Added little changes