created server and index and started working on the UI