Front end

Smart routing.
Final touches to UI