[sergey] working on rest endpoints and UI