Update API

Added in ability to send map to server-api, added instance getting