Added support for akka cluster configuration and made it optional.
Added support for leader and some initial hooks for UI to work.