Added compiler and refactored

Now augmenting actual dom element, similar to vivagraph
0.0.1