Merge pull request #23 from limianwang/master

Fix #22. ensure that object are not copied by value.
Merge branch 'master' of github.com:telemetryapp/osmos