Added setcharimg command and made concept implementation of upload over websocket