Create a base infrastructure for the project

Create a base infrastructure for the project
 - A simple file with code was created
 - Tests for this file were created
 - Current commit is required for traivis-ci cooperation
Create events files

The next "events" files were created:
 - IncomingEvent
 - OutcomingFirstEvent
 - OutcomingSecondEvent
Implement a device logic

The common device logic was implemented.
Tests are also present.
The model logic was implemented

The main.py file was also added.
Log sections of code were also added to the project.