added remote and local settings
added integration tests