Updated to latest Flux Router and fixed handlers

Had trouble to get the simple example to work. Forked it and fixed a few issues.