updated submodule reference
updated device creation to use new server communication standard. misc code cleanup.