An open framework for accessing Things as a service