Changed return data to json format and re-arranged the application folder structure to match the flask suggested structure.

Signed-off-by: anickelbagoffunk <christoferpalmgren@gmail.com>