working on basic model integration

created skeleton methods for REST and socket communications with model
instances on the server