Optimized imports and reformated code to fit Intellij formatting
Added a class to handle some simple json retrival