-JSON-fied server replies
-started restructuring device manager