Minimal server implemented. Stub for ui added.