Separated graph analysis code into classes
Added web interface code