Update copyright

Signed-off-by: Vladimir Petukhov <kavinator@gmail.com>
Always use return() in functions

Signed-off-by: Vladimir Petukhov <kavinator@gmail.com>
Return array instead grep()-result

Signed-off-by: Vladimir Petukhov <kavinator@gmail.com>
Merge branch 'increase-reliability-code' into dev-v0.6

* increase-reliability-code:
  Return array instead grep()-result
  Always use return() in functions
Main-part before functions-part

Signed-off-by: Vladimir Petukhov <kavinator@gmail.com>
Merge branch 'code-style' into dev-v0.6

* code-style:
  Main-part before functions-part
Checking correct completion close() function

Signed-off-by: Vladimir Petukhov <kavinator@gmail.com>
Merge branch 'increase-reliability-code' into dev-v0.6

* increase-reliability-code:
  Checking correct completion close() function