added ui directory and routes