Base code with basic router and ui