Cleaned up output, changed to RESTful API server using restful flask