added integration tests
merged core into messanger
simplified deployment
fixed tests for new data model
fixed unit tests
added gateway handling
Merge branch 'develop'

* develop:
  added gateway handling
  fixed unit tests
  fixed tests for new data model
  simplified deployment
  merged core into messanger
  added integration tests