adds root route and main layout