React refactoring

Contains a refactoring to React and a modularisation of the whole application.

+ also contains some performance improvments

should fix #65 
and will help a lot the productivity of adding features.