added model, code to get data from source and send as json