restyled some stuff and added a graph to the demo
added controller and view code

and some styles