Example of Scala Swing usage with some HTTP and JSON operaions setting up simple teminal app